package com.example.demo.common;

import java.io.Serializable;
import java.util.List;

public class DataTablesResult implements Serializable {
	private static final long serialVersionUID = 1L;

	private Boolean success;

	private int draw;

	private int recordsTotal;

	private int recordsFiltered;

	private String error;

	private List<?> data;

	public int getRecordsTotal() {
		return recordsTotal;
	}

	public Boolean getSuccess() {
		return success;
	}

	public void setSuccess(Boolean success) {
		this.success = success;
	}

	public void setRecordsTotal(int recordsTotal) {
		this.recordsTotal = recordsTotal;
	}

	public int getRecordsFiltered() {
		return recordsFiltered;
	}

	public void setRecordsFiltered(int recordsFiltered) {
		this.recordsFiltered = recordsFiltered;
	}

	public int getDraw() {
		return draw;
	}

	public void setDraw(int draw) {
		this.draw = draw;
	}

	public String getError() {
		return error;
	}

	public void setError(String error) {
		this.error = error;
	}

	public List<?> getData() {
		return data;
	}

	public void setData(List<?> data) {
		this.data = data;
	}
}
